import request from '@/utils/request'

// DiscoManage新增
export function insertDiscoManage(data) {
  return request({
    url: '/system/disco-manage/insert',
    method: 'post',
    data:data
  })
}

// DiscoManage修改
export function editDiscoManage(data) {
  return request({
    url: '/system/disco-manage/edit',
    method: 'post',
    data:data
  })
}

// DiscoManage信息
export function detailDiscoManage(data) {
  return request({
    url: '/system/disco-manage/detail',
    method: 'post',
	data:data
  }) 
}


// 删除DiscoManage
export function delDiscoManage(data) {
  return request({
    url: '/system/disco-manage/delete',
    method: 'post',
	data:data
  })
}

// DiscoManage列表
export function listDiscoManage(query) {
  return request({
    url: '/system/disco-manage/list',
    method: 'get',
    params: query
  })
}

// DiscoManage预约配置列表
export function listDiscoRoom(query) {
  return request({
    url: '/system/disco-app-record/list',
    method: 'get',
    params: query
  })
}

// 删除DiscoManage预约配置列表
export function delDiscoRoom(data) {
  return request({
    url: '/system/disco-app-record/delete',
    method: 'post',
	data:data
  })
}

// DiscoManage预约配置列表新增
export function insertDiscoRoom(data) {
  return request({
    url: '/system/disco-app-record/insert',
    method: 'post',
    data:data
  })
}

// DiscoManage预约配置列表修改
export function editDiscoRoom(data) {
  return request({
    url: '/system/disco-app-record/edit',
    method: 'post',
    data:data
  })
}